package com.domain;

import java.util.Date;

public class Space {

    private int id;
    private String name;
    private String detail;
    private Date createdate;
    private int spaceHref;
    private String spaceimage;
    private int status;
    private int userId;
    private User user;

    public String getSpaceimage() { return spaceimage; }
    public void setSpaceimage(String spaceimage) { this.spaceimage = spaceimage; }
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getDetail() { return detail; }
    public void setDetail(String detail) { this.detail = detail; }
    public Date getCreatedate() { return createdate; }
    public void setCreatedate(Date createdate) { this.createdate = createdate; }
    public int getSpaceHref() { return spaceHref; }
    public void setSpaceHref(int spaceHref) { this.spaceHref = spaceHref; }
    public int getStatus() { return status; }
    public void setStatus(int status) { this.status = status; }
    public int getUserId() { return userId; }
    public void setUserId(int userId) { this.userId = userId; }
    public User getUser() { return user; }
    public void setUser(User user) { this.user = user; }

    @Override
    public String toString() {
        return "Space{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", detail='" + detail + '\'' +
                ", createdate=" + createdate +
                ", spaceHref=" + spaceHref +
                ", status=" + status +
                ", userId=" + userId +
                ", user=" + user +
                '}';
    }

}
